package cn.jiahua.hospital.mapper;

import cn.jiahua.hospital.dto.PayDoctorDto;
import cn.jiahua.hospital.dto.PayHospitalDto;
import cn.jiahua.hospital.pojo.PayHospital;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface PayHospitalMapper {


    public PayHospital getPayHospitalById(@Param(value = "id") Integer id);

    public List<PayHospital> getPayHospitalListByMap(Map<String, Object> param);

    public Integer getPayHospitalCountByMap(Map<String, Object> param);

    public Integer insertPayHospital(PayHospital payHospital);

    public Integer updatePayHospital(PayHospital payHospital);

    public Integer deletePayHospitalById(@Param(value = "id") Integer id);

    public Integer batchDeletePayHospital(Map<String, List<String>> params);

    public List<PayHospitalDto> getPayHospital(Map<String, Object> param);

    public Integer getPayHospitalCount(Integer userId);
}
